package com.bfly.mall.system.dto;

import com.bfly.mall.system.enums.SysConfigType;

import java.io.Serializable;

/**
 * 订单配置
 *
 * @author 长沙商脉科技有限公司
 * @date 2020/9/18 13:32
 */
public class OrderConfigDTO implements Serializable {

    private static final long serialVersionUID = -6924998076173568932L;
    private int type = SysConfigType.ORDER.getId();

    /**
     * 自动取消延时时间(S)---订单未支付在规定的时间内超时自动取消
     *
     * @author 长沙商脉科技有限公司
     * @date 2020/9/18 13:32
     */
    private int autoCancelTime;

    /**
     * 自动收货延时时间(day)---订单在规定的时间内没有收货系统自动收货
     *
     * @author 长沙商脉科技有限公司
     * @date 2020/9/18 13:33
     */
    private int autoReceivedTime;


    public int getType() {
        return type;
    }

    public int getAutoCancelTime() {
        return autoCancelTime;
    }

    public void setAutoCancelTime(int autoCancelTime) {
        this.autoCancelTime = autoCancelTime;
    }

    public int getAutoReceivedTime() {
        return autoReceivedTime;
    }

    public void setAutoReceivedTime(int autoReceivedTime) {
        this.autoReceivedTime = autoReceivedTime;
    }
}
